// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.link {
  ._colour(@link-colour, @hover-colour) {
    color: @link-colour;

    &:focus,
    &:hover,
    &:active {
      color: @hover-colour;
    }
  }

  &--white {
    ._colour(#fff, #fff);
  }

  &--no-underline {
    &,
    &:focus,
    &:hover,
    &:active {
      text-decoration: none;
    }
  }
}
